home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / os2 / tinyed20.zip / TINYED.ABS < prev    next >
Text File  |  1992-08-05  |  5KB  |  129 lines

  1.  
  2.                     (C) Copyright IBM Corporation 1987, 1992
  3.  
  4.     T v2.00 - A Tiny Editor
  5.     =======================
  6.  
  7.     Introduction
  8.     ------------
  9.  
  10.     There are times even in today's world of multi-megabyte personal
  11.     computers when a quick, simple and small text editor is of benefit.
  12.     With a .EXE file of less than 9K bytes T is designed to fit that role.
  13.     For the DOS user trying to cram more and more into 640K the advantages
  14.     of small size are obvious, for the OS/2 user the speed and ability to
  15.     run when even Presentation Manager is unavailable may prove just as
  16.     useful.
  17.  
  18.     This document gives a very brief introduction to the Tiny Editor.
  19.     Refer to the full documentation in T.DOC for all the details of the
  20.     editor's command and keyboard functions.  T.DOC also describes how T
  21.     may be customised to suit individual preferences for things like
  22.     screen colours and keyboard layouts.
  23.  
  24.     Installation
  25.     ------------
  26.  
  27.     The only file required to use T is the single executable: T.EXE for
  28.     DOS or T2.EXE for OS/2.  This should be placed in the current
  29.     directory or in a subdirectory listed in the PATH.
  30.  
  31.     The help file THELP.HLP gives a summary of the editor's features.  It
  32.     may be useful to have this available the first few times it is used.
  33.     Pressing the F1 help key will attempt to load and show this help file.
  34.  
  35.     Simple Editing
  36.     --------------
  37.  
  38.     To start the editor just enter the command T from a DOS prompt or T2
  39.     from an OS/2 prompt.  This command can be followed by any number of
  40.     filenames which will be loaded ready for editing.  If no filenames are
  41.     given a new empty file will be created.
  42.  
  43.     The cursor starts out on the editor's command line (the third line up
  44.     from the bottom).  Any valid T command may be entered on the command
  45.     line and is executed when the Enter key is pressed.  Some valid
  46.     commands include:
  47.  
  48.        EDIT   - To load a new file into the editor.
  49.        FILE   - To write the currently displayed file back to disk.
  50.        PRINT  - To print the currently displayed file.
  51.        DOS    - To run a DOS or OS/2 command.
  52.  
  53.     The cursor can be moved between the command line and the file's data
  54.     area by pressing the Esc key.  In the data area it can be moved
  55.     anywhere between the "Top Of File" and "Bottom Of File" markers.  At
  56.     any point new text can be entered or the existing text changed.  To
  57.     add a new line press Ctrl-Enter and to delete a line press
  58.     Ctrl-Backspace.
  59.  
  60.     One or more lines can be marked by pressing Alt-L on the first and
  61.     last lines of the block to be marked.  Marked lines can be moved by
  62.     pressing Alt-M, copied with Alt-C or deleted with Alt-D.
  63.     
  64.  
  65.     The current line can be repeated with Alt-R, split at the cursor
  66.     position with Alt-S and joined with the following line with Alt-J.
  67.  
  68.     If more than one file is being edited at once the "ring" of files can
  69.     be cycled round by pressing F10 or F11.  Editing several files at once
  70.     if particularly useful in conjunction with marked lines as lines from
  71.     one file can be moved or copied into a different file.
  72.  
  73.     When all the required changes have been made the file can be written
  74.     back to disk by pressing F2 and quitted with F3.  Alternatively F4
  75.     will perform both these actions in one go.  If you decide to abandon
  76.     all the changes made just press F3 and answer the question "Throw away
  77.     changes?" with a "y".
  78.  
  79.     To search for a particular piece of text, switch onto the command line
  80.     and enter the command:
  81.  
  82.        /text
  83.  
  84.     T will search from the current cursor position forwards to find the
  85.     next occurrence of the "text".  Normally T requires an exact-case
  86.     match (i.e. it would not find TEXT or even Text); to force any
  87.     any-case match add a "c" option to the command like this: /text/c
  88.  
  89.     To do a search and replace, again switch onto the command line and
  90.     this time use the command:
  91.  
  92.        c/this/that
  93.  
  94.     This will find the next occurrence of "this" and ask a question:
  95.     "Yes/No/Go/Last/Quit?".  Respond with a Y, N, G, L or Q as required:
  96.  
  97.        Yes   - to change "this" to "that" and search for the next "this".
  98.        No    - to not make the change, but continue the search for the
  99.                next "this".
  100.        Go    - to make this change and all subsequent changes up to the
  101.                end of the file.
  102.        Last  - to make this change and to stop searching.
  103.        Quit  - to not make this change and to stop searching.
  104.  
  105.     To make all the changes straightaway, without prompting add the "*"
  106.     option to the change command like so: c/this/that/*
  107.  
  108.     Customisation
  109.     -------------
  110.  
  111.     T may be customised to change the colours, keyboard assignments and
  112.     one or two other settings.  Take a look at the TKEYS.DEF file which
  113.     describes the standard configuration.  If you want to alter it, make a
  114.     copy of TKEYS.DEF and edit it to reflect your required changes.  Then
  115.     run the TKEY.EXE customiser program to update the editor, like this:
  116.  
  117.        TKEY TKEYS.DEF T.EXE
  118.  
  119.     ----------------------------------------------------------------------
  120.  
  121.     by: Tim Baldwin
  122.         IBM UK Laboratories Ltd.
  123.         Hursley Park
  124.         Winchester
  125.         Hampshire, UK.
  126.  
  127.         Internet: baldy@vnet.ibm.com
  128.  
  129.